import TerrainManager from "../../manager/TerrainManager";
import Facility from "../Facility";

const { ccclass, property } = cc._decorator;

@ccclass
export default class MakeHome extends Facility {

    protected onEnable(): void {
        TerrainManager.instance.setLocationDomain(this.locations[0]);
    }

    protected onDisable(): void {
        TerrainManager.instance.setLocationDomain(this.locations[0], 3);
    }

}
